package edu.jiangnan.crm.settings.service.Impl;

import edu.jiangnan.crm.settings.domain.DicValue;
import edu.jiangnan.crm.settings.mapper.DicValueMapper;
import edu.jiangnan.crm.settings.service.DictValueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("dictValueServiceImpl")
public class DictValueServiceImpl implements DictValueService {

    @Autowired
    private DicValueMapper dicValueMapper;

    @Override
    public List<DicValue> queryDictValueByTypeCode(String typeCode) {
        return dicValueMapper.selectDicValueByTypeCode(typeCode);
    }
}
